import com.tanhua.db.mapper.QuestionnaireOptionMapper;
import com.tanhua.model.pojo.QuestionnaireOption;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.util.Date;

public class das {
    @Resource
    private QuestionnaireOptionMapper optionMap;
    @Test
    public void save(){
        int[] arr = {8,5,3,2};
        QuestionnaireOption question = new QuestionnaireOption();
        question.setQuestionId(11);
        question.setScores(8L);
        question.setChoice( "选项1");
        optionMap.insert(question);
    }
}
